package zerenlian;

import android.util.Log;

public class GuangzhouPostman extends Postman {//广州快递员
    @Override
    public void handleCourier(String address) {
        if (address.equals("Guangzhou")) {
            Log.e("***"," 派送到广州 ");
            return;
        } else {
            if (nextPostman != null)
                Log.e("***"," 不是广州快递 交给下一个 ");
                nextPostman.handleCourier(address);
        }
    }
}
